<?php
defined('MCACHE_DEBUG')             || define('MCACHE_DEBUG', false);
defined('MCACHE_DEV_SERVER')        || define('MCACHE_DEV_SERVER', false);
defined('MCACHE_CONNECT_TIMEOUT')   || define('MCACHE_CONNECT_TIMEOUT', 1);

//公会
defined('MCACHE_ACT_GH')    || define('MCACHE_ACT_GH', 'Dmz_Web_Act_Zmgh');
/**** getCacheServer start **************************/
function &getCacheServer($const_server)
{

    $ret = array();

    switch ($const_server) 
    {
		case MCACHE_ACT_GH:			
            $ret[0] = array( 'host' => '10.10.8.205', 'port' => 11212);	
			$ret[1] = array( 'host' => '10.10.8.204', 'port' => 11212);		
            break;
         default:
            if (MCACHE_DEBUG) { var_dump(func_get_args()); }
    }

    return $ret;
}
?>